SOURCE=Ng4_create_part_after_design.c Ng4_create_part_after_design_saveas.c Ng4_rename_pdf_after_create_relation.c Ng4_AE_import_file.c Ng4_auto_assign_project_after_bomadd.c Ng4_auto_assign_project_before_bomcut.c Ng4_set_property_when_catdrawing_creation.c Ng4_set_property_when_catdrawing_delete.c

dllc: dll
			copy libNg4_bmf_exts.dll %TC_ROOT%\BIN

dll:libNg4_bmf_exts.dll 

libNg4_bmf_exts.dll:libNg4_bmf_exts.obj
	%TC_ROOT%\sample\link_custom_exits libNg4_bmf_exts
      nmake purge
    
libNg4_bmf_exts.obj:$(SOURCE)
    %TC_ROOT%\sample\compile -DIPLIB=none $(SOURCE)

purge:
	-del *.obj
	-del *.pdb
	-del *.ilk
	-del *.exp
	-del *.lib

clean: purge
	-del *.dll
	-del *.manifest
	